package com.tmxk.api.days01.yc.list;

import com.tmxk.api.days01.yc.Dog;

import java.util.Vector;

/**
 *@Author: yc
 *@CreateTime: 2022-11-28  15:50
 *@Description: Vector 线程安全的集合框架
 *@Version: 1.0
 */
public class VectorDemo {
    public static void main(String[] args) {
        Vector<Dog> dogVector = new  Vector<>();
        dogVector.add(new Dog("huahua",2));
    }
}
